package com.practice.designMode.coupon;

import java.util.Date;

public class UserCoupon {
    private Long id;
    // 1-满减 2-折扣
    private Integer type;
    // 规则JSON
    private String ruleJson;
    // 过期时间
    private Date expireTime;

    // getters and setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Integer getType() { return type; }
    public void setType(Integer type) { this.type = type; }
    public String getRuleJson() { return ruleJson; }
    public void setRuleJson(String ruleJson) { this.ruleJson = ruleJson; }
    public Date getExpireTime() { return expireTime; }
    public void setExpireTime(Date expireTime) { this.expireTime = expireTime; }
}
